f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
↳ QTRS
↳ Overlay + Local Confluence
f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
f(x0, 0, 0)
f(0, x0, 0)
f(0, 0, x0)
f(s(0), x0, x1)
f(s(x0), s(x1), 0)
f(s(x0), 0, s(x1))
f(0, s(0), s(0))
f(s(x0), s(x1), s(x2))
f(0, s(s(x0)), s(0))
f(0, s(0), s(s(x0)))
f(0, s(s(x0)), s(s(x1)))
F(s(0), y, z) → F(0, s(y), s(z))
F(s(x), 0, s(z)) → F(x, s(0), z)
F(s(x), s(y), 0) → F(x, y, s(0))
F(0, s(s(y)), s(s(z))) → F(0, s(s(y)), s(z))
F(s(x), s(y), s(z)) → F(s(x), s(y), z)
F(0, s(s(y)), s(s(z))) → F(0, y, f(0, s(s(y)), s(z)))
F(0, s(0), s(s(z))) → F(0, s(0), z)
F(0, s(s(y)), s(0)) → F(0, y, s(0))
F(s(x), s(y), s(z)) → F(x, y, f(s(x), s(y), z))
f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
f(x0, 0, 0)
f(0, x0, 0)
f(0, 0, x0)
f(s(0), x0, x1)
f(s(x0), s(x1), 0)
f(s(x0), 0, s(x1))
f(0, s(0), s(0))
f(s(x0), s(x1), s(x2))
f(0, s(s(x0)), s(0))
f(0, s(0), s(s(x0)))
f(0, s(s(x0)), s(s(x1)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
F(s(0), y, z) → F(0, s(y), s(z))
F(s(x), 0, s(z)) → F(x, s(0), z)
F(s(x), s(y), 0) → F(x, y, s(0))
F(0, s(s(y)), s(s(z))) → F(0, s(s(y)), s(z))
F(s(x), s(y), s(z)) → F(s(x), s(y), z)
F(0, s(s(y)), s(s(z))) → F(0, y, f(0, s(s(y)), s(z)))
F(0, s(0), s(s(z))) → F(0, s(0), z)
F(0, s(s(y)), s(0)) → F(0, y, s(0))
F(s(x), s(y), s(z)) → F(x, y, f(s(x), s(y), z))
f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
f(x0, 0, 0)
f(0, x0, 0)
f(0, 0, x0)
f(s(0), x0, x1)
f(s(x0), s(x1), 0)
f(s(x0), 0, s(x1))
f(0, s(0), s(0))
f(s(x0), s(x1), s(x2))
f(0, s(s(x0)), s(0))
f(0, s(0), s(s(x0)))
f(0, s(s(x0)), s(s(x1)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
F(s(0), y, z) → F(0, s(y), s(z))
F(s(x), s(y), 0) → F(x, y, s(0))
F(s(x), 0, s(z)) → F(x, s(0), z)
F(0, s(s(y)), s(s(z))) → F(0, s(s(y)), s(z))
F(s(x), s(y), s(z)) → F(s(x), s(y), z)
F(0, s(s(y)), s(0)) → F(0, y, s(0))
F(0, s(0), s(s(z))) → F(0, s(0), z)
F(0, s(s(y)), s(s(z))) → F(0, y, f(0, s(s(y)), s(z)))
F(s(x), s(y), s(z)) → F(x, y, f(s(x), s(y), z))
f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
f(x0, 0, 0)
f(0, x0, 0)
f(0, 0, x0)
f(s(0), x0, x1)
f(s(x0), s(x1), 0)
f(s(x0), 0, s(x1))
f(0, s(0), s(0))
f(s(x0), s(x1), s(x2))
f(0, s(s(x0)), s(0))
f(0, s(0), s(s(x0)))
f(0, s(s(x0)), s(s(x1)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
F(0, s(0), s(s(z))) → F(0, s(0), z)
f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
f(x0, 0, 0)
f(0, x0, 0)
f(0, 0, x0)
f(s(0), x0, x1)
f(s(x0), s(x1), 0)
f(s(x0), 0, s(x1))
f(0, s(0), s(0))
f(s(x0), s(x1), s(x2))
f(0, s(s(x0)), s(0))
f(0, s(0), s(s(x0)))
f(0, s(s(x0)), s(s(x1)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
F(0, s(0), s(s(z))) → F(0, s(0), z)
0 > F2 > s1
0: multiset
s1: multiset
F2: multiset
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
f(x0, 0, 0)
f(0, x0, 0)
f(0, 0, x0)
f(s(0), x0, x1)
f(s(x0), s(x1), 0)
f(s(x0), 0, s(x1))
f(0, s(0), s(0))
f(s(x0), s(x1), s(x2))
f(0, s(s(x0)), s(0))
f(0, s(0), s(s(x0)))
f(0, s(s(x0)), s(s(x1)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
F(0, s(s(y)), s(0)) → F(0, y, s(0))
f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
f(x0, 0, 0)
f(0, x0, 0)
f(0, 0, x0)
f(s(0), x0, x1)
f(s(x0), s(x1), 0)
f(s(x0), 0, s(x1))
f(0, s(0), s(0))
f(s(x0), s(x1), s(x2))
f(0, s(s(x0)), s(0))
f(0, s(0), s(s(x0)))
f(0, s(s(x0)), s(s(x1)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
F(0, s(s(y)), s(0)) → F(0, y, s(0))
F3 > s1 > 0
0: multiset
s1: [1]
F3: multiset
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
f(x0, 0, 0)
f(0, x0, 0)
f(0, 0, x0)
f(s(0), x0, x1)
f(s(x0), s(x1), 0)
f(s(x0), 0, s(x1))
f(0, s(0), s(0))
f(s(x0), s(x1), s(x2))
f(0, s(s(x0)), s(0))
f(0, s(0), s(s(x0)))
f(0, s(s(x0)), s(s(x1)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
F(0, s(s(y)), s(s(z))) → F(0, s(s(y)), s(z))
F(0, s(s(y)), s(s(z))) → F(0, y, f(0, s(s(y)), s(z)))
f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
f(x0, 0, 0)
f(0, x0, 0)
f(0, 0, x0)
f(s(0), x0, x1)
f(s(x0), s(x1), 0)
f(s(x0), 0, s(x1))
f(0, s(0), s(0))
f(s(x0), s(x1), s(x2))
f(0, s(s(x0)), s(0))
f(0, s(0), s(s(x0)))
f(0, s(s(x0)), s(s(x1)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
F(0, s(s(y)), s(s(z))) → F(0, y, f(0, s(s(y)), s(z)))
Used ordering: Combined order from the following AFS and order.
F(0, s(s(y)), s(s(z))) → F(0, s(s(y)), s(z))
0 > f2 > s1
f2: multiset
0: multiset
s1: [1]
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
F(0, s(s(y)), s(s(z))) → F(0, s(s(y)), s(z))
f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
f(x0, 0, 0)
f(0, x0, 0)
f(0, 0, x0)
f(s(0), x0, x1)
f(s(x0), s(x1), 0)
f(s(x0), 0, s(x1))
f(0, s(0), s(0))
f(s(x0), s(x1), s(x2))
f(0, s(s(x0)), s(0))
f(0, s(0), s(s(x0)))
f(0, s(s(x0)), s(s(x1)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
F(0, s(s(y)), s(s(z))) → F(0, s(s(y)), s(z))
0 > F3
s1 > F3
0: multiset
s1: [1]
F3: [3,1,2]
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
f(x0, 0, 0)
f(0, x0, 0)
f(0, 0, x0)
f(s(0), x0, x1)
f(s(x0), s(x1), 0)
f(s(x0), 0, s(x1))
f(0, s(0), s(0))
f(s(x0), s(x1), s(x2))
f(0, s(s(x0)), s(0))
f(0, s(0), s(s(x0)))
f(0, s(s(x0)), s(s(x1)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
F(s(x), s(y), 0) → F(x, y, s(0))
F(s(x), 0, s(z)) → F(x, s(0), z)
F(s(x), s(y), s(z)) → F(s(x), s(y), z)
F(s(x), s(y), s(z)) → F(x, y, f(s(x), s(y), z))
f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
f(x0, 0, 0)
f(0, x0, 0)
f(0, 0, x0)
f(s(0), x0, x1)
f(s(x0), s(x1), 0)
f(s(x0), 0, s(x1))
f(0, s(0), s(0))
f(s(x0), s(x1), s(x2))
f(0, s(s(x0)), s(0))
f(0, s(0), s(s(x0)))
f(0, s(s(x0)), s(s(x1)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
F(s(x), s(y), 0) → F(x, y, s(0))
F(s(x), 0, s(z)) → F(x, s(0), z)
F(s(x), s(y), s(z)) → F(x, y, f(s(x), s(y), z))
Used ordering: Combined order from the following AFS and order.
F(s(x), s(y), s(z)) → F(s(x), s(y), z)
F1 > f2
s1 > f2
0 > f2
f2: multiset
0: multiset
s1: multiset
F1: [1]
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
F(s(x), s(y), s(z)) → F(s(x), s(y), z)
f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
f(x0, 0, 0)
f(0, x0, 0)
f(0, 0, x0)
f(s(0), x0, x1)
f(s(x0), s(x1), 0)
f(s(x0), 0, s(x1))
f(0, s(0), s(0))
f(s(x0), s(x1), s(x2))
f(0, s(s(x0)), s(0))
f(0, s(0), s(s(x0)))
f(0, s(s(x0)), s(s(x1)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
F(s(x), s(y), s(z)) → F(s(x), s(y), z)
trivial
s1: multiset
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
f(x, 0, 0) → s(x)
f(0, y, 0) → s(y)
f(0, 0, z) → s(z)
f(s(0), y, z) → f(0, s(y), s(z))
f(s(x), s(y), 0) → f(x, y, s(0))
f(s(x), 0, s(z)) → f(x, s(0), z)
f(0, s(0), s(0)) → s(s(0))
f(s(x), s(y), s(z)) → f(x, y, f(s(x), s(y), z))
f(0, s(s(y)), s(0)) → f(0, y, s(0))
f(0, s(0), s(s(z))) → f(0, s(0), z)
f(0, s(s(y)), s(s(z))) → f(0, y, f(0, s(s(y)), s(z)))
f(x0, 0, 0)
f(0, x0, 0)
f(0, 0, x0)
f(s(0), x0, x1)
f(s(x0), s(x1), 0)
f(s(x0), 0, s(x1))
f(0, s(0), s(0))
f(s(x0), s(x1), s(x2))
f(0, s(s(x0)), s(0))
f(0, s(0), s(s(x0)))
f(0, s(s(x0)), s(s(x1)))